#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
int main()
{
	char arr1[] = "2518172858@qq.com";
	char arr2[] = "@.";
	char arr3[50] = { 0 };
	strcpy(arr3, arr1);
	char* ret = NULL;
	for (ret = strtok(arr3, arr2); ret != NULL; ret = strtok(NULL, arr2))
	{
		printf("%s\n", ret);

	}
	return 0;
}